aboutsummaryrefslogtreecommitdiff
path: root/src/pages/create/[board].astro
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-10-24 23:19:33 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-10-24 23:19:33 +0300
commit9dfd6aa77518b3a1e6bfd926a3b7719c32a8c97f (patch)
treed10fc76ef816160871e3955aa75821bc5d5088d4 /src/pages/create/[board].astro
parent4ca81621e5b31922565b4149ebad1deb5161071a (diff)
use the new api
Diffstat (limited to 'src/pages/create/[board].astro')
-rw-r--r--src/pages/create/[board].astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/create/[board].astro b/src/pages/create/[board].astro
index 152277c..3cbe1ab 100644
--- a/src/pages/create/[board].astro
+++ b/src/pages/create/[board].astro
@@ -12,8 +12,8 @@ const { board } = Astro.params;
<Form board={board} tid="">
<form id="form" method="post" action="/create/thread" onsubmit="document.getElementById('submit-button').disabled = true">
- <textarea name="ThreadName" placeholder="Thread Name" style="height: 1.5rem; width: 350px;"></textarea> <br>
- <textarea name="ThreadText" placeholder="Thread Contents" style="height: 150px; width: 350px;"></textarea>
+ <textarea name="title" placeholder="Thread Name" style="height: 1.5rem; width: 350px;"></textarea> <br>
+ <textarea name="content" placeholder="Thread Contents" style="height: 150px; width: 350px;"></textarea>
<br> <input id="submit-button" type="submit" value="Create Thread" />
<input id="image" type="file" accept=".png,.jpg,.gif,.bmp,.mp4" />
</form>